/*
 * TagManager.cpp
 *
 */

#include "TagManager.h"

TagManager::TagManager() {
}

TagManager::~TagManager() {
}

void TagManager::replace(const std::string& tag, const std::string& value,
		std::string& line) {
	unsigned int pos = line.find(tag);
	if (pos != std::string::npos) {
		line.erase(pos, tag.length());
		line.insert(pos, value);
	}
}
